package com.chaucer.demo.enums;

/**
 * @Description TODO
 * @Author Chaucer
 * @Date 2021/9/3 11:40
 */
public enum BusinessSourceEnum {
    /*
    本地
     */
    Inner("inner","本地"),
    /*
    客户端外部
     */
    Outer("outer", "外部"),

    H2("h2","h2") ;

    private String code;
    private String name;

    private BusinessSourceEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}